package com.todod.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 数据字典表
 * 
 * @author MengHaoPeng
 * 
 */
@TableName("LTCLOUD_ZSGL_DB_DEV.sys_dict")
public class Dict implements Serializable {

	/**
	 * @Fields field:field:
	 */
	private static final long serialVersionUID = 1454578662031535756L;
	/**
	 * 主鍵
	 */
	@TableId(value = "sd_id", type = IdType.INPUT)
	private Long id;
	/**
	 * 字典代码
	 */
	@TableField(value = "sd_code")
	private String code;
	/**
	 * 字典名称
	 */
	@TableField(value = "sd_name")
	private String name;
	/**
	 * 字典标识（1：字典类型，2：字典项）
	 */
	@TableField(value = "sd_flag")
	private String flag;
	/**
	 * 父字典id(字典标识为2时生效)
	 */
	@TableField(value = "sd_parent_id")
	private Long parentId;
	/**
	 * 父字典code(字典标识为2时生效)
	 */
	@TableField(value = "sd_parent_code")
	private String parentCode;
	/**
	 * 排序号
	 */
	@TableField(value = "sd_sort_num")
	private int sortNum;
	/**
	 * 状态（1：启用。2：禁用）（字典标识为2时生效）
	 */
	@TableField(value = "sd_state")
	private String state;
	/**
	 * 创建用户id
	 */
	@TableField(value = "sd_create_user_id")
	private Long createUserId;
	/**
	 * 创建时间
	 */
	@TableField(value = "sd_create_time")
	private Date createTime;
	/**
	 * 修改用户名id（默认为：1）
	 */
	@TableField(value = "sd_modify_user_id")
	private Long modifyUserId;
	/**
	 * 修改时间
	 */
	@TableField(value = "sd_modify_time")
	private Date modifyTime;
	/**
	 * 抽取标志位
	 */
	@TableField(value = "sd_get_flag")
	private String getFlag;
	/**
	 * 抽取批次号
	 */
	@TableField(value = "sd_get_batch")
	private String getBatch;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getParentCode() {
		return parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	public int getSortNum() {
		return sortNum;
	}

	public void setSortNum(int sortNum) {
		this.sortNum = sortNum;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getGetFlag() {
		return getFlag;
	}

	public void setGetFlag(String getFlag) {
		this.getFlag = getFlag;
	}

	public String getGetBatch() {
		return getBatch;
	}

	public void setGetBatch(String getBatch) {
		this.getBatch = getBatch;
	}

}